package com.demo.lcgl.entity;

import java.io.Serializable;
import java.sql.Timestamp;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 家庭账户：(FamilyAccount)表实体类
 */
@TableName("`family_account`")
@Data
@EqualsAndHashCode(callSuper = false)
public class FamilyAccount implements Serializable {

    // FamilyAccount编号
    @TableId(value = "family_account_id", type = IdType.AUTO)
    private Integer family_account_id;
    // 账户名称
    @TableField(value = "`title_of_account`")
    private String title_of_account;
    // 账户
    @TableField(value = "`account`")
    private String account;
    // 结余
    @TableField(value = "`balance`")
    private Integer balance;
    // 用户编号
    @TableField(value = "`user_number`")
    private Integer user_number;


    // 更新时间
    @TableField(value = "update_time")
    private Timestamp update_time;

    // 创建时间
    @TableField(value = "create_time")
    private Timestamp create_time;

}
